#ifndef GPIO2MPD_PLAYER_H
#define GPIO2MPD_PLAYER_H

#include <mpd/client.h>


#define PATH_TO_RADIO "list_radio"


struct mpd_connection* getMPDConnection();
void closeMPDConnection( struct mpd_connection* );
void shairport_on();
void shairport_off();
void playlist_play();
void playlist_pause();
void playlist_load_radios();
void playlist_stop();
void playlist_next();
void playlist_prev();
void playlist_load_mp3();

void setVolume(int);
void stepVolume(int);

#endif
